package com.suny.sf_server.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import com.suny.DataDic.DataDic;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.suny.DataDic.dto.DataDicQueryDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author sun
* @description 针对表【data_dic(牲畜品种信息表)】的数据库操作Mapper
* @createDate 2024-12-27 10:45:10
* @Entity DataDic.suny.com.DataDic
*/
@Mapper
public interface DataDicMapper extends BaseMapper<DataDic> {
    /**
     * 条件查询数据字典列表
     */
    IPage<DataDic> selectDataDicVOPageByCondition(
        @Param("page") IPage<DataDic> page,
        @Param("query") DataDicQueryDTO query
    );


    List<Integer> getHasDataDic();
}




